Use the Tag option in the Find or Replace dialog box to search for specific tags, attributes, and attribute values. For example, you can search for all IMG
tags with no ALT
attribute. See Searching and replacing for information about the various types of searches.
To perform a tag search:
1 | Choose Edit > Find or Edit > Replace, and specify which files to search, as detailed in Searching and replacing. |
2 | Choose Tag from the Find What pop-up menu. |
3 | Choose a specific tag from the pop-up menu that is adjacent to the Find What pop-up menu, or choose [any tag]. |
If you just want to search for all occurrences of the specified tag, press the minus (-) button and skip to step 6. Otherwise, proceed with step 4. | |
4 | Limit the search with one of the following tag modifiers: |
![]() |
Choose With Attribute to choose an attribute that must be in the tag for it to match. You can specify a particular value for the attribute or choose [any value]. |
![]() |
Choose Without Attribute to choose an attribute that cannot be in the tag for it to match. For example, choose this option to search for all IMG tags with no ALT attribute. |
![]() |
Choose Containing to specify text or a tag that must be contained within the original tag for it to match. For example, in the code <B><FONT FACE="Arial">Heading 1</FONT></B> , the FONT tag is contained within the B tag. |
![]() |
Choose Not Containing to specify text or a tag that cannot be contained within the original tag for it to match. |
![]() |
Choose Inside Tag to specify a tag that the target tag must be inside of for it to match. |
![]() |
Choose Not Inside Tag to specify a tag that the target tag cannot be inside of for it to match. |
5 | Click the plus (+) button and repeat step 4 to further limit the search. |
6 | Initiate the search: |
![]() |
Click Find Next to highlight the next instance of the search text in the current document. |
![]() |
Click Find All to generate a list of all the instances of the search text in the current document. |
If you are searching in a directory or site, Find Next highlights the next instance of the search text in the current document or, if there is none, opens the next document that contains the search text. Find All generates a list of documents that contain the search text. | |
![]() |